<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">管理员id</label>
            <div class="layui-input-block">
                <select name="admin_id" lay-verify="required">
                    <option value=''></option>
                    {foreach $getAdminList as $k=>$v}
                    <option value='{$k}' >{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">租户id</label>
            <div class="layui-input-block">
                <input type="text" name="member_id" class="layui-input" lay-verify="required" placeholder="请输入租户id" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户id</label>
            <div class="layui-input-block">
                <input type="text" name="user_id" class="layui-input" lay-verify="required" placeholder="请输入用户id" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">访问者</label>
            <div class="layui-input-block">
                <input type="text" name="name" class="layui-input" lay-verify="required" placeholder="请输入访问者" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">账号</label>
            <div class="layui-input-block">
                <input type="text" name="username" class="layui-input" lay-verify="required" placeholder="请输入账号" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">链接</label>
            <div class="layui-input-block">
                <input type="text" name="path" class="layui-input" lay-verify="required" placeholder="请输入链接" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">路由地址</label>
            <div class="layui-input-block">
                <input type="text" name="menu_path" class="layui-input" lay-verify="required" placeholder="请输入路由地址" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">访问类型</label>
            <div class="layui-input-block">
                <input type="text" name="method" class="layui-input" lay-verify="required" placeholder="请输入访问类型" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">参数</label>
            <div class="layui-input-block">
                <input type="text" name="param" class="layui-input"  placeholder="请输入参数" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">登录IP</label>
            <div class="layui-input-block">
                <input type="text" name="ip" class="layui-input" lay-verify="required" placeholder="请输入登录IP" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">操作时间</label>
            <div class="layui-input-block">
                <input type="text" name="add_time" data-date="" data-date-type="datetime" class="layui-input" lay-verify="required" placeholder="请输入操作时间" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">范围</label>
            <div class="layui-input-block">
                {foreach $getScopesList as $k=>$v}
                <input type="radio" name="scopes" value="{$k}" title="{$v}" {in name="k" value="admin"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>